{extend name="common/index"}
{block name="content"}
<!--index_banner-->
<div class="banner index_banner">
    <div class="wrap">
        <div class="index_banner_wrap">
            <div class="bd">
                <ul>
                    {volist name="banner_list" id="vo"}
                    <li>
                        {notempty name="vo.link"}
                        <a href="{$vo.link}" target="_blank" title="{$vo.title|default=''}"><img src="{$vo.img_url}"  alt="{$vo.title|default=''}"/></a>
                        {else /}
                        <img src="{$vo.img_url}" alt="{$vo.title|default=''}"/>
                        {/notempty}
                        {netempty name="vo.title"}
                        <div class="banner_txt">
                            <h3>{$vo.title}</h3>
                            <p>{$vo.title_sub}</p>
                        </div>
                        {/netempty}
                    </li>
                    {/volist}
                </ul>
            </div>
            <div class="hd">
                <a href="javascript:;" class="prev"><span></span></a>
                <a href="javascript:;" class="next"><span></span></a>
                <ul>
                </ul>
            </div>

        </div>
    </div>
</div>

{volist name="content_list" id="vo"}
<div class="index_about index_item {eq name="key%2" value="0"} f8 {/eq}">
    <div class="wrap clear">
        <div class="img {eq name="key%2" value="0"} fl {else/} fr {/eq}">
            <img src="{$vo.img_url}" alt="{$vo.title}"/>
        </div>
        <div class="txt {eq name="key%2" value="0"} fr {else/} fl {/eq}">
            <h2>{$vo.title}</h2>
            <p>{$vo.title_sub}</p>
            <a href="{$vo.link}" target="_blank" class="more_btn">{$vo.describe}</a>
        </div>
    </div>
</div>
{/volist}

<!--index_news-->
<div class="index_news">
    <div class="wrap">
        <div class="index_news_title">
            <h2>最新資訊</h2>
            <p>Latest News</p>
        </div>
        <ul class="index_news_list clear">
            {volist name="latest_list" id="vo"}
            <li>
                <div class="img">
                    <img src="{$vo.img_url}" alt="{$vo.title}"/>
                </div>
                <div class="txt">
                    <p>{$vo.title}</p>
                    <a href="{:url('news/detail')}?id={$vo.art_id|default='0'}" class="more_btn">查看更多</a>
                </div>
            </li>
            {/volist}
        </ul>
        <!--<div class="index_news_all">
            <a href="{:url('news/index')}">
                查看所有文章
            </a>
        </div>-->
    </div>
</div>
{/block}